widget: Add a defualt snapshot vfunc
authorBenjamin Otte <otte@redhat.com>
Thu, 17 Nov 2016 23:46:49 +0000 (00:46 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 17 Nov 2016 23:47:56 +0000 (00:47 +0100)
commitefa1c6cbd53e3e2744afe50ecf9c7da138ab5dff
tree4b3e138f9b0a27d2ee664f2a7cd7d22b87e144f1
parentf8f2b8144f13bd6b321e3d2aea53c533cfc24ea9
widget: Add a defualt snapshot vfunc

Just to avoid having to do NULL checks when calling
widget_class->snapshot. We were crashing with drawing areas who don't
have a draw or a snapshot vfunc (woot!).
gtk/gtkwidget.c